﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace road2.Model
{
    class CrossRoad: BaseRoadObj, ICarManager
    {
        private int _x;
        public int x
        {
            get { return _x; }
            set
            {
                _x = value;
                RaisePropertyChanged("x");
            }
        }

        private int _y;
        public int y
        {
            get { return _y; }
            set
            {
                _y = value;
                RaisePropertyChanged("y");
            }
        }

        private List<Road> _inputRoads;
        public List<Road> inputRoads
        {
            get { return _inputRoads; }
            set
            {
                _inputRoads = value;
                RaisePropertyChanged("inputRoads");
            }
        }

        private List<Road> _outputRoads;
        public List<Road> outputRoads
        {
            get { return _outputRoads; }
            set
            {
                _outputRoads = value;
                RaisePropertyChanged("outputRoads");
            }
        }

        
        public CrossRoad(Guid id)
            : base(id)
        {

        }

        public void Manage(Car car)
        {
            throw new NotImplementedException();
        }
    }
}
